package net.maku.propagate.convert;

import net.maku.propagate.entity.PropagateTrainingManagementEntity;
import net.maku.propagate.vo.PropagateTrainingManagementVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
* 培训管理
*
* @author 阿沐 babamu@126.com
* @since 1.0.0 2025-03-16
*/
@Mapper
public interface PropagateTrainingManagementConvert {
    PropagateTrainingManagementConvert INSTANCE = Mappers.getMapper(PropagateTrainingManagementConvert.class);

    PropagateTrainingManagementEntity convert(PropagateTrainingManagementVO vo);

    PropagateTrainingManagementVO convert(PropagateTrainingManagementEntity entity);

    List<PropagateTrainingManagementVO> convertList(List<PropagateTrainingManagementEntity> list);

}